package com.autonavi.yunda.yunji.core.configuration;

import com.alibaba.ais.skyline.client.http.SkylineHttpClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author cizhong.wcs
 * @date 2022/7/19 17:13
 */
@Configuration
public class SkylineConfiguration {
    @Bean
    public SkylineHttpClient skylineHttpClient() {
        SkylineHttpClient client = new SkylineHttpClient();
        client.setHost("sky.alibaba-inc.com");
        client.setAccount("cizhong-skyline");
        client.setAppName("cloudmap-yunji-engine");
        client.setAccessKey("L94klK6F2g85docT");
        client.init();
        return client;
    }
}
